package com.py.base.service;

import java.util.List;
import java.util.Map;

import com.py.base.entity.TableListModel;
import com.py.base.entity.TableModel;

public interface SysGeneratorService {
    List<Map<String, Object>> queryList(Map<String, Object> map);
	
    List<TableListModel> queryTbaleList();
    
	int queryTotal(Map<String, Object> map);
	
	Map<String, String> queryTable(String tableName);
	
	List<Map<String, String>> queryColumns(String tableName);
	
	List<TableModel> queryExcelColumnsList(String tableName);
	
	List<Map<String, Object>>  queryColumnsList(Map<String, Object> map);
	

	
	int queryColumnsTotal(Map<String, Object> map);
	/**
	 * 生成代码
	 */
	byte[] generatorCode(String[] tableNames);
	/**
	 * 生成代码
	 */
	byte[] generatorCode(String tableName);
}
